package com.student.Activitys.adapter.viewholder;

import android.support.v7.widget.RecyclerView;
import android.view.View;
import android.widget.TextView;

import com.facebook.drawee.view.SimpleDraweeView;
import com.student.Activitys.R;
import com.zhy.autolayout.utils.AutoUtils;

import butterknife.Bind;
import butterknife.ButterKnife;

/**
 * 项目名称：智慧校园学生端
 * 类描述：首页：校内动态 + 奖惩：奖惩资助 实体类（图文信息） viewHolder
 * 创建人：张飞祥
 * 创建时间：2017/10/9 9:22
 * 修改人：张飞祥
 * 修改时间：2017/10/9 9:22
 * 修改备注：
 */
public class ImageTextViewHolder extends RecyclerView.ViewHolder{

    public @Bind(R.id.sv_item_image_text_icon)      //图片
    SimpleDraweeView svItemImageTextIcon;
    public @Bind(R.id.tv_item_image_text_title)     //标题
    TextView tvItemImageTextTitle;
    public @Bind(R.id.tv_item_image_text_tag)       //tag
    TextView tvItemImageTextTag;
    public @Bind(R.id.tv_item_image_text_time)      //时间
    TextView tvItemImageTextTime;
    public @Bind(R.id.tv_item_image_text_browse)    //浏览次数
    TextView tvItemImageTextBrowse;

    public ImageTextViewHolder(View itemView) {
        super(itemView);
        ButterKnife.bind(this, itemView);
        //适配
        AutoUtils.auto(itemView);
    }
}
